#ifndef _TINY_H
#define _TINY_H

#define MAXTOKENLEN 40
#define MAXRESERVED 13

typedef enum {
	ENDFILE, ERROR,
	IF, THEN, ELSE, END, REPEAT, UNTIL, READ, WRITE, VAR, BEGIN, INTEGER, DOUBLE, STRING,
	ID, NUM,
	ASSIGN, EQ, LT, PLUS, MINUS, TIMES, OVER, LPAREN, RPAREN, SEMI, COMMA, DEFINE
} TokenType;

TokenType getToken(void);

#endif